import Vue from "vue";
import VueRouter from "vue-router";



Vue.use(VueRouter);

const routes = [
  {
    path: "/",
    name: "home",
    component: () => import("@/views/chatgpt/index.vue"),
    meta: {
      title: 'vincent.ren',
      }
  },
  {
    path: "/aichat",
    name: "aichat",
    component: () => import("@/views/chatgpt/index.vue"),
    meta: {
      title: 'ChatGpt'}
  },
  {
    path: "/mianze",
    name: "mianze",
    component: () => import("@/views/chatgpt/mianze.vue"),
    meta: {
      title: 'vincent.ren',}
  },
];

const router = new VueRouter({
  mode: "history",
  base: process.env.BASE_URL,
  routes,
});

export default router;
